home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tk / getvroot.z / getvroot
Encoding:
Text File  |  1998-10-30  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333TTTTkkkk))))                              TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_GetVRootGeometry - Get location and size of virtual root for window
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((_t_k_w_i_n, _x_P_t_r, _y_P_t_r, _w_i_d_t_h_P_t_r, _h_e_i_g_h_t_P_t_r))))
  15.  
  16. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  17.      Tk_Window   _t_k_w_i_n       (in)      Token for window whose virtual root is
  18.                                        to be queried.
  19.  
  20.      int         _x_P_t_r        (out)     Points to word in which to store x-
  21.                                        offset of virtual root.
  22.  
  23.      int         _y_P_t_r        (out)     Points to word in which to store y-
  24.                                        offset of virtual root.
  25.  
  26.      int         _w_i_d_t_h_P_t_r    (out)     Points to word in which to store width |
  27.                                        of virtual root.
  28.  
  29.      int         _h_e_i_g_h_t_P_t_r   (out)     Points to word in which to store height|
  30.                                        of virtual root.
  31.  
  32.  
  33. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.      TTTTkkkkGGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy returns geometry information about the virtual root
  35.      window associated with _t_k_w_i_n.  The ``associated'' virtual root is the one
  36.      in which _t_k_w_i_n's nearest top-level ancestor (or _t_k_w_i_n itself if it is a
  37.      top-level window) has been reparented by the window manager.  This window
  38.      is identified by a ________SSSSWWWWMMMM____RRRROOOOOOOOTTTT or ________WWWWMMMM____RRRROOOOOOOOTTTT property placed on the top-
  39.      level window by the window manager.  If _t_k_w_i_n is not associated with a
  40.      virtual root (e.g.  because the window manager doesn't use virtual roots)
  41.      then *_x_P_t_r and *_y_P_t_r will be set to 0 and *_w_i_d_t_h_P_t_r and *_h_e_i_g_h_t_P_t_r will
  42.      be set to the dimensions of the screen containing _t_k_w_i_n.
  43.  
  44.  
  45. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  46.      geometry, height, location, virtual root, width, window manager
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.